<script>
fenleiEffection.type='order';
fenleiEffection.optionString='选择订单分类';
</script>
<div class="new_mn">
     <b class="spbg2 corner tl"></b>
     <b class="spbg2 corner tr"></b>
     <b class="spbg2 corner bl"></b>
     <b class="spbg2 corner br"></b>
     <div class="titlebar-smenu clearfix">     	
     </div>
     <div id="productRight" >
     <form name="productIndexForm" id="productIndexForm" action="admins<?=CHOSING_DE?>product<?=CHOSING_DE?>del" method="post">
<table class="list" border="1" cellpadding="0" cellspacing="0" bordercolor="#b9b9b9" style="border-collapse:collapse">
    <tr class="topic" style="background: #e5dede;">
    	<td><b>NO.</b></td>
    	<td><b>Create Time</td>
    	<td><b>Total</b></td>
    	<!-- <td><b>Dead Line</b></td> -->
    	<td><b>Status</b></td>
    	<td><b>Repay Order</b></td>
    	<td><b>Repay Time</b></td>
    	<td><b>Repay Money</b></td>
    	<td><b>Repay Statu</b></td>
    </tr>
    <?php foreach($this->orderArray as $value):?>		
    <tr>
    	<td><b>G<?=$value['preorder'][0]['orderid']?></b></td>
    	<td>
	    	<?=date('Y-m-d H:i:s',$value['preorder'][0]['add_time'])?><br />	    	
    	</td>
    	<td>$<?=round($value['preorder'][0]['money']*$value['preorder'][0]['discount'],2)?></td>
    	<!-- <td>
    		<?=date('Y-m-d H:i:s',$value['add_time']+$value['delivery_days']*24*3600)?>
			<br />
			<?if($value['ship_time']!=0):?>
				<?=date('Y-m-d H:i:s',$value['ship_time'])?>
			<?else:?>
				In Delivery
			<?endif;?>
    	</td> -->
    	<td><?=$value['preorder'][0]['en_flname']?></td>
    	<td>
    		<?php if(!empty($value['related'][0])):?>
							<a href="adminb-order-more?orderid=<?=$value['related'][0]['orderid']?>">G<?=$value['related'][0]['orderid']?></a>
			<?php endif;?>
    	</td>
    	<td>
    	<?php if(!empty($value['related'][0])):?>
							<?=date('Y-m-d H:i:s',$value['related'][0]['add_time'])?>
							
							
						<?php endif;?>
		</td>
		<td>
		<?php if(!empty($value['related'][0])):?>	
			$<?=round($value['related'][0]['money']*$value['related'][0]['discount'],2)?>
		<?endif;?>
		</td>
		
		<td>
		<?php if(!empty($value['related'][0])):?>	
			<?=$value['related'][0]['en_flname']?>
		<?endif;?>
		</td>			
    </tr>
    <?php endforeach;?>
</table>
</form>
     </div>     
</div>